//
//  GZTicketCell.m
//  lv678
//
//  Created by apple on 15/7/1.
//  Copyright (c) 2015年 lampshade. All rights reserved.
//

#import "GZTicketCell.h"
#import "GZTicketModel.h"
@interface GZTicketCell()

@property(nonatomic,strong)UILabel *title;


@end

@implementation GZTicketCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {

        UILabel *title = [[UILabel alloc]init];
        [self.contentView addSubview:title];
        self.title     = title;
        
       
        
    }
    return self;
}

-(void)setTicket:(GZTicketModel *)ticket{
    _ticket = ticket;
    [self settingData];
    [self settingFrame];
}

- (void)settingData{
    GZTicketModel *model = self.ticket;
    self.title.text      = model.classify;

}
- (void)settingFrame{

    self.title.frame = CGRectMake(60, 60, 200, 10);

}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    
}

@end
